package j2eebusinesscomponenthasservice;

import j2eebusinesscomponenthasservice.J2eeBusinessComponentHasServiceMatch;
import j2eebusinesscomponenthasservice.J2eeBusinessComponentHasServiceMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate J2eeBusinessComponentHasServiceMatcher in a type-safe way.
 * 
 * @see J2eeBusinessComponentHasServiceMatcher
 * @see J2eeBusinessComponentHasServiceMatch
 * 
 */
public class J2eeBusinessComponentHasServiceMatcherFactory extends BaseGeneratedMatcherFactory<J2eeBusinessComponentHasServiceMatch,J2eeBusinessComponentHasServiceMatcher> {
  @Override
  protected J2eeBusinessComponentHasServiceMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new J2eeBusinessComponentHasServiceMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "J2eeBusinessComponentHasService";
    
  }
}
